// This file was automatically generated from map.soy.
// Please don't edit this file by hand.

goog.provide('checkintrack.ui.map');

goog.require('soy');
goog.require('soy.StringBuilder');


checkintrack.ui.map.checkin = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<div class="checkin">', (opt_data.featureName) ? '<div class="featureName"><a href="' + soy.$$escapeHtml(opt_data.link) + '">' + opt_data.featureName + '</a></div>' : '', '<div class="address">', soy.$$escapeHtml(opt_data.addressFormatted), '</div>', (opt_data.published) ? ' at <span class="published"><a href="' + soy.$$escapeHtml(opt_data.link) + '">' + soy.$$escapeHtml(opt_data.published) + '</a></span>' : '', (opt_data.author) ? ' by <span class="author"><a href="' + soy.$$escapeHtml(opt_data.authorUrl) + '">' + opt_data.author + '</a></span>' : '', '</div>');
  if (!opt_sb) return output.toString();
};
